package com.b511.swpu.cementbackend.repository;

import com.b511.swpu.cementbackend.entity.MAIN_Servicer;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface MAIN_ServicerRepository extends JpaRepository<MAIN_Servicer, String>,
        JpaSpecificationExecutor<MAIN_Servicer> {

    void deleteByRelationCode(String relationCode);

    MAIN_Servicer findByRelationCode(String relationCode);
}
